<!--{template admin/tpl/header}-->

<div class="mainarea">
<div class="maininner">

	<form method="GET" action="admincp.php?ac=newslist">
	<div class="block style4">
		
		<table cellspacing="3" cellpadding="3">
		<!--{if $allowmanage}-->
		<tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td>
			<th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td>
		</tr>
		<!--{/if}-->
		<tr>
			<th>内容*</th><td><input type="text" name="message" value="$_GET[message]">*表示支持模糊查询</td>
		</tr>
		<tr><th>回复时间</th><td colspan="3">
			<input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~
			<input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD)
		</td></tr>

		<tr><th></th>
		<td colspan="3">
		<input type="hidden" name="ac" value="responds" >
		<input type="submit" name="searchsubmit" value="搜索" class="submit">
		</td>
		</tr>
		</table>

	</div>
	</form>

<!--{if $list}-->

	<form method="POST" action="admincp.php?ac=responds">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<div class="bdrcontent">
	
	<!--{if $perpage>100}-->
		<p>总共有满足条件的数据 <strong>$count</strong> 个</p>
		<!--{loop $list $value}-->
		<input type="hidden" name="ids[]" value="$value[id]">
		<!--{/loop}-->
	
	<!--{else}-->
		<table cellspacing="0" cellpadding="0" class="formtable">
		<tr><td width="25">&nbsp;</td>
			 
			<th>内容</th>
			<!--{if $allowmanage}--><th width="80">作者</th><!--{/if}-->
			<th width="80">发布日期</th> 
			<th width="80">审核通过</th> 
		<!--{loop $list $value}-->
		<tr>
			<td>
				<input type="checkbox" name="ids[]" value="$value[id]">
			</td>
			<td>$value[content]</th>
			<!--{if $allowmanage}-->
			<td><a href="space.php?uid=$value[uid]">$value[username]</a></td>
			<!--{/if}--> 
			<td><!--{date('Y-m-d',$value[posttime])}--></td>
			<td align="center">$value[pass]</td>
		</tr>
		<!--{/loop}-->
		</table>
	<!--{/if}-->
	</div>
	
	<div class="footactions">
		<!--{if $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}-->
		<input type="hidden" name="mpurl" value="$mpurl">
		<input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复，确认删除？');" class="submit">
		<!--{if $allowmanage}-->
		<input type="submit" name="shengsubmit" value="批量审核"  class="submit">
		<!--{/if}-->
		$multi
	</div>
	</form>
<!--{else}-->
	<div class="bdrcontent">
		<p>指定条件下还没有数据</p>
	</div>
<!--{/if}-->
</div>
</div>

<div class="side">
	<!--{template admin/tpl/side}-->
</div>

<!--{template admin/tpl/footer}-->